#ifndef PICKNUM_H
#define PICKNUM_H

#include <QWidget>
#include <QPushButton>

class PickNum : public QWidget
{
    Q_OBJECT
public:
    explicit PickNum(QWidget *parent = nullptr);
    void setNum(int num);

signals:
    void sig_clickNum(int num);

public slots:

private:
    void paintEvent(QPaintEvent*) override;
    void mousePressEvent(QMouseEvent *e) override;

private:
    QPushButton* m_close;
    int m_select;
};

#endif // PICKNUM_H
